import request from "@/utils/request";

export const login = (data) => {
  return request({
    url: "/login",
    method: "post",
    data,
  });
};
export const userInfo = () => {
  return request({
    url: "/curr-user",
    method: "get",
  });
};
export const menuList = () => {
  return request({
    url: "/user/auth-list",
    method: "get",
  });
};